<?php

return [
    /*
       |--------------------------------------------------------------------------
       | User Default Permission
       |--------------------------------------------------------------------------
       | You can config new user's permission
       |
       */
    'user' => [
        /*
        |--------------------------------------------------------------------------
        | CreateGroup
        |--------------------------------------------------------------------------
        | This permission accept user to create a group for self
        */
        'CreateGroup' => 1,
        /*
        |--------------------------------------------------------------------------
        | RemoveGroup
        |--------------------------------------------------------------------------
        | This permission accept user to remove a own group
        |
        */
        'RemoveGroup' => 2,

        /*
        |--------------------------------------------------------------------------
        | DisableGroup
        |--------------------------------------------------------------------------
        | This permission accept user to disable a own group
        |
        */
        'DisableGroup' => 3,

        /*
        |--------------------------------------------------------------------------
        | UpdateGroup
        |--------------------------------------------------------------------------
        | This permission accept user to update a own group
        |
        */
        'UpdateGroup' => 4,

        /*
        |--------------------------------------------------------------------------
        | SelectUserGroups
        |--------------------------------------------------------------------------
        | This permission allows users to query all groups they are a member of
        |
        */
        'SelectUserGroups' => 5,

        /*
        |--------------------------------------------------------------------------
        | AddProjectManagerItem
        |--------------------------------------------------------------------------
        | This permission allows users to add ProjectMessage
        |
        */
        'AddProjectManagerItem' => 6,

        /*
       |--------------------------------------------------------------------------
       | SelectProjectManagerItem
       |--------------------------------------------------------------------------
       | This permission allows users to select ProjectsMessage
       |
       */
        'SelectProjectManagerItem' => 7,

        /*
     |--------------------------------------------------------------------------
     | GetUserIdeTypes
     |--------------------------------------------------------------------------
     | This permission allows users to get User Ide Tool Type
     |
     */
        'GetUserIdeTypes' => 8,


        /*
     |--------------------------------------------------------------------------
     | UpdateProjectItem
     |--------------------------------------------------------------------------
     | This permission allows users to Update self ProjectItem
     |
     */
        'UpdateProjectItem' => 9,

        /*
     |--------------------------------------------------------------------------
     | DeleteProjectItem
     |--------------------------------------------------------------------------
     | This permission allows users to delete ProhectItem . This delete is Forever
     |
     */
        'DeleteProjectItem' => 10,


        /*
      |--------------------------------------------------------------------------
      | DeleteProjectItem
      |--------------------------------------------------------------------------
      | This permission allows users to delete ProhectItem . This delete is Forever
      |
      */
        'GetUserProjectManagerMessage' => 11,
    ],
    /*
      |--------------------------------------------------------------------------
      | Group Default Permission
      |--------------------------------------------------------------------------
      | You can config new group's permission
      */
    'group' => [
        /*
        |--------------------------------------------------------------------------
        | AddUserInGroup
        |--------------------------------------------------------------------------
        | This permission allows group manager to add user in group
        */
        'AddUserInGroup' => 12,

        /*
         |--------------------------------------------------------------------------
         | RemoveUserFromGroup
         |--------------------------------------------------------------------------
         | This permission allows group manager to remove user from this group
         */
        'RemoveUserFromGroup' => 13,

        /*
        |--------------------------------------------------------------------------
        | GetGroupAllPermissions
        |--------------------------------------------------------------------------
        | This permission allows members of the group to query all their permissions in the group
        */
        'GetGroupAllPermissions' => 14,

        /*
         |--------------------------------------------------------------------------
         | GetGroupAllUsers
         |--------------------------------------------------------------------------
         | This permission allows members of the group to query all users in the group
         */
        'GetGroupAllUsers' => 15
    ]
];
